package com.ants.auth.config.user;

import java.util.List;

/**
 * @author 蚂蚁会花呗
 * @create 2025/5/29 14:30
 */
public class UserDto {
    private Integer uid;

    private String username;

    private String password;

    private String phone;

    private List<String> roles;

    public UserDto(Integer uid, String username, String password, String phone, List<String> roles) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.phone = phone;
        this.roles = roles;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }
}
